<?php
/**
 * Created by PhpStorm.
 * User: xzw
 * Date: 2018/7/27
 * Time: 11:40
 */
$dbHostName='127.0.0.1';
$dbUser='root';
$dbPwd='root';
$dataBase ='zol';
$conn = new mysqli($dbHostName,$dbUser,$dbPwd,$dataBase);
mysqli_query($conn,"set names utf8");